package com.sunducation.wts.room.one2more.bean

import androidx.room.Embedded
import androidx.room.Relation
import com.sunducation.wts.room.one2more.bean.TwoDog
import com.sunducation.wts.room.one2more.bean.TwoOwner

data class TwoOwnerWithDogs(
    @Embedded val owner: TwoOwner,
    @Relation(
        parentColumn = "ownerId",
        entityColumn = "dogOwnerId"
    )val dogs: List<TwoDog>
) {
}